package com.llynic.designdemo.responsibilitymode;

public class App {
    public static void main(String[] args) {
        ResponsibilityChain chain = new ResponsibilityChain();
        chain.register(new ResponsibilityA());
        chain.register(new ResponsibilityB());

        chain.process(new Request() {

        });
    }
}
